約 5,785,715 件
https://w.atwiki.jp/wiki8_hime/pages/49.html
環境;FreeBSD6.3 コピペパーツ 時計あわせ ntpdate -s -b 133.100.11.8 カーネルチューニング ===/boot/loader.conf=== echo /boot/loader.conf; echo kern.ipc.nmbclusters=32768 /boot/loader.conf; echo kern.ipc.maxsockets=32768 /boot/loader.conf; echo accf_http_load="YES" /boot/loader.conf; echo beastie_disable="YES" /boot/loader.conf; echo kern.maxssiz="134217728" /boot/loader.conf; echo kern.dfldsiz="1073741824" /boot/loader.conf; echo kern.maxdsiz="1073741824" /boot/loader.conf ===/etc/sysctl.conf=== echo /etc/sysctl.conf echo net.inet.tcp.inflight_enable=1 /etc/sysctl.conf echo kern.maxfiles=16384 /etc/sysctl.conf echo kern.maxfilesperproc=14745 /etc/sysctl.conf echo kern.ipc.somaxconn=4096 /etc/sysctl.conf echo kern.ipc.maxsockbuf=1048576 /etc/sysctl.conf ===前準備 ~ パッケージからインストール -r するとリモートからとってくるよ編~ === pkg_add -r perl pkg_add -r rsync pkg_add -r cvsup-without-gui pkg_add -r zip pkg_add -r unzip pkg_add -r wget pkg_add -r curl pkg_add -r libxml2 pkg_add -r expat2 pkg_add -r cclient pkg_add -r tidy-lib pkg_add -r freebsd-update pkg_add -r jpeg pkg_add -r png pkg_add -r freetype pkg_add -r freetype2 pkg_add -r gd pkg_add -r mhash pkg_add -r bsdsar pkg_add -r openssl ===cvsup=== cvsupは vi /usr/share/examples/cvsup/ports-supfile で host=backup1.atwiki.jp に設定。 rehash でパスを再読み込み ==cvsupでportsを更新== cvsup /usr/share/examples/cvsup/ports-supfile アパッチ fetch ftp //ftp.lab.kdd.co.jp/infosystems/apache/dist/httpd/apache_1.3.41.tar.gz tar zxvf apache_1.3.41.tar.gz cd apache_1.3.41 setenv EXTRA_CFLAGS -DFD_SETSIZE=16384 ./configure --prefix=/usr/local/apache13 --enable-module=most --enable-module=so --enable-shared=max --enable-suexec --suexec-caller=www --suexec-logfile=/usr/local/apache13/logs/suexec_log --suexec-uidmin=10000 --suexec-gidmin=10000 make make install mod_layout改造版をどっかからとってくる。 tar zxvf mod_layout cd mod_layout-3.4 vi Makefile make make install Mysql cd /usr/ports/databases/mysql41-client/ make WITH_CHARSET=sjis WITH_XCHARSET=all make install cd /usr/ports/databases/mysql41-server/ make make install /etc/my.cnf設置→どこかのサーバーからコピー PHP fetch http //jp.php.net/get/php-5.2.8.tar.gz/from/this/mirror mv mirror php-5.2.8.tar.gz tar zxvf php-5.2.8.tar.gz cd php-5.2.8/ ./configure --with-apxs=/usr/local/apache13/bin/apxs --enable-mbstring --with-openssl --with-tidy --with-gd --with-jpeg-dir=/usr/local --with-zlib --enable-mbregex --enable-gd-jis-conv --with-freetype-dir=/usr/local/ --enable-zend-multibyte --enable-mbstring=japanese --enable-ftp --with-png-dir=/usr/local --enable-memory-limit --with-xmlrpc --enable-imap --with-mysql=/usr/local --with-pdo-mysql=/usr/local --enable-iconv --with-gettext --with-curl --with-mh make make install proftpd cd /usr/ports/ftp/proftpd make (defolut + quota + mysql) make install APC ===autoconf/aotoheader=== cd /usr/ports/devel/autoconf213/ make make install ln -s /usr/local/bin/autoconf213 /usr/local/bin/autoconf ln -s /usr/local/bin/autoheader213 /usr/local/bin/autoheader ===APC=== fetch http //pecl.php.net/get/APC-3.0.12p2.tgz tar zxvf APC-3.0.12p2.tgz cd APC-3.0.12p2 phpize ./configure --enable-apc-mmap--with-apxs --with-php-config=/usr/local/bin/php-config make make install mod_bandwidth.c mkdir tmp cd tmp/ fetch ftp //ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c /usr/local/apache13/bin/apxs -c mod_bandwidth.c /usr/local/apache13/bin/apxs -i -a mod_bandwidth.so /usr/local/apache13/bin/apachectl restart httpd.confを設定する前に作業デレクトリを作成。 mkdir /usr/local/apache13/bandwidth mkdir /usr/local/apache13/bandwidth/link mkdir /usr/local/apache13/bandwidth/master chown -R www www /usr/local/apache13/bandwidth mod_limitipconn fetch http //dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz tar zxvf mod_limitipconn-0.04.tar.gz cd mod_limitipconn-0.04 vi Makefile APXS=/usr/local/apache13/bin/apxs ←apxsをフルパスで指定 make make install 権限変更 権限変更750 chmod 750 /root/ chmod 750 /usr/local/apache13/conf/* chmod 750 /usr/local/etc/ chmod 750 /usr/local/etc/proftpd.conf chmod 750 /usr/home/ now ディレクトリ ファイル設置 /usr/local/www/以下 /usr/local/www/htdocs/_/ /root/_atpages/ /usr/local/www/session/ /usr/local/www/skel/ /usr/local/lib/php.ini /etc/my.cnf python インストール cd /usr/ports/lang/python25/ make make install ruby インストール cd /usr/ports/lang/ruby18/ make make install /etc/rc.confに追加 mysql_enable="YES" mysql_dbdir="/usr/local/mysql_data" proftpd_enable="YES" analog cd /usr/ports/www/analog/ make make install vi /usr/local/etc/analog.cfg ↓修正 LOGFORMAT COMMON LOGFILE /usr/local/apache13/logs/access_log OUTFILE /usr/local/www/htdocs/_analog/index.html その他 mysql設定 apache設定 proftpd設定 pf追加 /etc/crontab 編集 /etc/newsyslog.conf 編集 CGI グループ追加 pw groupadd -n pages -g 10000 php,cgiインストーラーのスクリプト設置 scp -rp dir/ ImageMagick cd /usr/ports/graphics/ImageMagick/ make make install perlモジュール cpan Jcode.pm モジュール cpan install Jcode DB_File モジュール cpan install DB_File DBI モジュール cpan install DBI DBD mysql モジュール cpan install DBD mysql ↑失敗したら、下記のURLからダウンロード http //www.cpan.org/modules/by-module/DBD/ tar zxvf DBD-mysql-4.010.tar.gz cd DBD-mysql-4.010 perl Makefile.PL make make install CGI.pm モジュール cpan install CGI image size http //search.cpan.org/~rjray/Image-Size-3.1.1/lib/Image/Size.pm Pythonモジュール ./ez_py.pv mysql /usr/ports/database/py-Mysqldb/ make make install SQLite /usr/local/bin/easy_install SQLObject ipython追加 cd /usr/ports/devel/ipython/ make make install ruby モジュール cd /usr/ports/databases/ruby-mysql/ make make install cd /usr/ports/databases/ruby-sqlite/ make make install
https://w.atwiki.jp/venturecapital/pages/12.html
国内ベンチャーキャピタルIndex NTVP 日本のVC事務所 http //www.ntvp.com/link.html ベンチャー座|VC vision http //www.ventureza.jp/bn.php □上場しているベンチャーキャピタルのIR資料 ジャフコ http //www.jafco.co.jp/investor/presen.html エヌ・アイ・エフSMBCベンチャーズ http //www.nifsmbc.co.jp/ir/highlight/index.html JAIC http //www.jaic-vc.co.jp/jp/ir/financial.html SBI http //www.sbigroup.co.jp/investors/financials/index.html
https://w.atwiki.jp/wiki8_beta/pages/2.html
index Front Page サイト内 検索 A to Z でさがす パート別でさがすTrumpet Trombone Sax Alto Sax Tenor Sax Others Flute Clarinet Vocal Piano Organ Guitar Bass Drams Others 練習用ページ - - - - - - - - - - - - - - - - index
https://w.atwiki.jp/javadsge/pages/361.html
package pdf2; import java.io.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class makepdf{ String title; String[] data=new String[50]; void makedata(String file){ FileOutputStream out = null; BufferedOutputStream bout = null; PdfWriter writer = null; Document doc = null; try { out = new FileOutputStream(file); bout = new BufferedOutputStream(out); doc = new Document(new Rectangle(0,0,500,500)); writer = PdfWriter.getInstance(doc,bout); doc.open(); Font kaku_24 = new Font(BaseFont.createFont("HeiseiKakuGo-W5","UniJIS-UCS2-H",BaseFont.NOT_EMBEDDED),18); kaku_24.setColor(CMYKColor.RED); doc.add(new Paragraph(title, kaku_24)); Font mincho_12 = new Font(BaseFont.createFont("HeiseiMin-W3", "UniJIS-UCS2-HW-H",BaseFont.NOT_EMBEDDED),12); doc.add(new Paragraph(data[1], mincho_12)); doc.add(new Paragraph(title, kaku_24)); doc.add(new Paragraph(data[2], mincho_12)); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (DocumentException e) { e.printStackTrace(); } catch (IOException e) {e.printStackTrace(); } finally { doc.close(); System.out.println("ended..."); } } }
https://w.atwiki.jp/sanosoft/pages/119.html
PHP7.3のインストール PHP7.3のインストールを行います。 1. PHPのインストール (1) phpのインストール yumでインストールを行います。 # yum install --enablerepo=epel,remi,remi-php73 php (2) php-develのインストール ※php-develのインストールは任意です。 # yum install --enablerepo=epel,remi,remi-php73 php-devel 2. 関連モジュールのインストール (1) libmcryptのインストール # yum install --enablerepo=epel libmcrypt (2) libargon2のインストール php-pdoをインストールする場合に必要です。 # yum install --enablerepo=epel libargon2 # yum install --enablerepo=epel libargon2-devel (3) libraqmのインストール # yum --enablerepo=epel install libraqm (4) libzstdのインストール # yum --enablerepo=epel install libzstd 3. phpのモジュールのインストール これは任意ですが、必要なモジュールをインストールします。 # yum install --enablerepo=remi,remi-php73 php-mysqlnd # yum install --enablerepo=remi,remi-php73 php-mbstring # yum install --enablerepo=remi,remi-php73 php-gd # yum install --enablerepo=remi,remi-php73 php-xml # yum install --enablerepo=remi,remi-php73 php-xmlrpc # yum install --enablerepo=remi,remi-php73 php-pecl-mcrypt # yum install --enablerepo=remi,remi-php73 php-fpm # yum install --enablerepo=remi,remi-php73 php-opcache # yum install --enablerepo=remi,remi-php73 php-apcu # yum install --enablerepo=remi,remi-php73 php-zip # yum install --enablerepo=remi,remi-php73 php-pdo # yum install --enablerepo=remi,remi-php73 php-pear 4. /etc/php.iniの編集 (1) php.iniの編集 # vi /etc/php.ini expose_php = Off max_execution_time = 60 error_reporting = E_ALL ~E_NOTICE ~E_DEPRECATED ~E_STRICT ; Log errors to specified file. PHP s default behavior is to leave this value ; empty. ; http //php.net/error-log ; Example ;error_log = php_errors.log ; Log errors to syslog. ;error_log = syslog ※php-fpmを利用している場合には、エラーログは「/var/log/php-fpm/www-error.log」に書き込まれます。(当初はこのファイルは存在しません。エラーが発生すると自動的に作成されます。) 「/etc/php-fpm.d/www.conf」にログファイル名が記載されています。 post_max_size = 20M upload_max_filesize = 20M date.timezone = "Asia/Tokyo" session.gc_maxlifetime = 7200 mbstring.language = Japanese mbstring.internal_encoding = UTF-8 mbstring.http_input = pass mbstring.http_output = pass (2) pearモジュールのインストール 必要に応じて、PEARのモジュールをインストールします。 【例】PEAR Mailモジュールのインストール。 # pear install -a Mail ※「-a」オプションを付けると、依存ファイルもすべてインストールします。 (3) Apacheの再起動 Apacheを再起動して、PHPを有効にします。 # systemctl restart httpd.service 5. php-fpmサービスの起動 # systemctl enable php-fpm.service # systemctl start php-fpm.service 6. HTMLページをPHPとして動作させる場合の設定 通常、HTMLページをPHPとして動作させる場合には、.htaccessに FilesMatch \.html$ AddHandler application/x-httpd-php /FilesMatch と記述すれば動作するはずですが、php-fpmを利用している場合には、設定が無効になる場合があります。 その場合には、以下のように設定します。 (1) .htacces 「/etc/httpd/conf.d/php.conf」において # Redirect to local php-fpm (no mod_php in default configuration) IfModule !mod_php5.c IfModule !mod_php7.c (略) FilesMatch \.(php|phar)$ SetHandler "proxy unix /run/php-fpm/www.sock|fcgi //localhost" /FilesMatch /IfModule /IfModule というような記述があります。 そこで、同様にfpmに処理を引き渡す必要があるので、以下のように.htaccessを記述します。 FilesMatch \.html$ SetHandler "proxy unix /run/php-fpm/www.sock|fcgi //localhost" /FilesMatch (2) /etc/php-fpm.d/www.conf デフォルトでは、PHPコードを実行可能なファイル拡張子が「.php」のみに制限されているため、「.html」も使用できるように設定します。 ; Limits the extensions of the main script FPM will allow to parse. This can ; prevent configuration mistakes on the web server side. You should only limit ; FPM to .php extensions to prevent malicious users to use other extensions to ; exectute php code. ; Note set an empty value to allow all extensions. ; Default Value .php ;security.limit_extensions = .php .php3 .php4 .php5 .php7 の箇所の「security.limit_extensions」の項目を以下のように変更します。 security.limit_extensions = .php .html php-fpmを再起動します。 # systemctl restart php-fpm.service
https://w.atwiki.jp/rioatwiki/pages/16.html
Technology and Media BBC Football fans spending millions on club crypto-tokens Maker of suicide pod plans to launch in Switzerland Instagram boss calls for more teen protection Amazon fined $1.2bn by Italian regulators Canadian man charged over ransomware attacks Euros top Google's year in search in UK UK to phase out 2G and 3G by 2033 TikTok jumps on online shopping bandwagon 5G in Coverdale Ancient valley set for telecoms upgrade Instagram announces changes ahead of political grilling Bitcoin 'founder' wins right to keep billions of dollars Ubisoft NFTs, called 'Digits', launch for in-game items What is artificial intelligence and why is it important? What are algorithms and how do they work? What are quantum computers and what are they used for? Bitcoin What are crypto-currencies? How do you turn off the internet? Shelby Lynch TikTok influencer on dispelling disability myths Divine Comedy Robot Ai-da creates a poem to honour Dante CEO Secrets 'Call centre work trained me to be a CEO' Virtual yacht sells for $650,000 and other tech news Why Mars-bound astronauts may go to Iceland first The country that is Europe's hub for cargo bikes Lara Croft 25 years of Tomb Raider and a British gaming icon Africa's patchy transport network gets a tech boost The tech helping shops - and Santa - deliver this Christmas Why broken African phones are shipped to Europe Can South Africa embrace renewable energy from the sun? The 99-year-old cyclist who has won a world silver medal The small nuclear power plants billed as an energy fix The mums using Instagram to offer advice to new parents 31 item(s) Last-Modified 2021/12/10 09 05 38 Financial Times IT Instagram tries to change image with altered algorithms The world needs to set new rules in space Amazon/antitrust €1.13bn Italian fine will set the tone for other EU competition watchdogs Miro targets $17bn valuation as demand for remote work tools surges US to blacklist Chinese AI company SenseTime over Xinjiang ahead of IPO ‘Essentially dead’ China closes off foreign investors’ route into tech deals Researchers train AI on ‘synthetic data’ to uncover Syrian war crimes Kremlin penetrates deeper into online world of Russians Instagram chief denies platform prioritises profit over users’ mental health China set to make tech VIEs unviable, closing foreign ownership loophole Elizabeth Holmes wraps up testimony in Theranos fraud trial Roku/YouTube David’s Roku takes on the Google Goliath Tech IPOs newly listed companies are growing more expensive China tech blacklist could hurt homegrown start-ups most Apple reaches quiet truce over iPhone privacy changes Apple’s Christmas supply chain nightmare Meet private equity’s king of SaaS Quantum computing fear of super hackers will drive sales of specialists China to tighten rules for tech companies seeking foreign funding From angry Adele fans to broken robot vacuums AWS outage ripples through US European tech’s record funding year Intel/Mobileye IPO great side bet, shame about the core business Europe needs to wake up to the costs of hosting massive data centres Gig economy/Uber UK ruling adds to pressure on shaky business model Death’s Door — an engrossing game about being fragile in a dangerous world 25 item(s) Last-Modified 2021/12/10 05 49 31 Financial Times Media Alden Global/Lee Enterprises the last stand of the US local newspaper business France releases Saudi man arrested on suspicion of role in Khashoggi murder Lloyd’s List to chart new course as Informa hoists ‘for sale’ sign Trump Spac Former president needs to reach mainstream acceptance to hit user goals US regulators probe Trump social media Spac deal Three tech giants control half of advertising outside China CNN fires Chris Cuomo after misconduct claims Discovery in talks with BT Sport to hijack sale to DAZN BuzzFeed puts brave face on investor exodus ahead of trading debut MailOnline publisher Martin Clarke to step down Media-savvy business professors look beyond the lecture hall Rothermere sweetens bid to take Daily Mail publisher private DMGT sweetened deal will leave a bitter aftertaste Barry Diller’s media empire settles legal fight with Tinder founders FT-Omdia Digital Economies Index spotting the next tech growth markets Online streaming looks to Asia for steady flow of subscribers CNN suspends host Chris Cuomo over defence of his brother UK magazine group Future’s profits more than double What influences cryptocurrency values? Disney omits ‘Simpsons’ Tiananmen visit from Hong Kong offering How to thrive as a mid-life woman in the creative industries UK creative industries making a pig’s ear of their value Adele and Spotify chasing payments EU takes aim at political ads on social media China intensifies crackdown on celebrity culture and fans 25 item(s) Last-Modified 2021/12/10 03 24 15 Washington Post showrss プラグインエラー RSSが見つからないか、接続エラーです。
https://w.atwiki.jp/wiki8_hime/pages/50.html
環境;FreeBSD6.3 コピペパーツ 時計あわせ ntpdate -s -b 133.100.11.8 カーネルチューニング ===/boot/loader.conf=== echo /boot/loader.conf; echo kern.ipc.nmbclusters=32768 /boot/loader.conf; echo kern.ipc.maxsockets=32768 /boot/loader.conf; echo accf_http_load="YES" /boot/loader.conf; echo beastie_disable="YES" /boot/loader.conf; echo kern.maxssiz="134217728" /boot/loader.conf; echo kern.dfldsiz="1073741824" /boot/loader.conf; echo kern.maxdsiz="1073741824" /boot/loader.conf ===/etc/sysctl.conf=== echo /etc/sysctl.conf echo net.inet.tcp.inflight_enable=1 /etc/sysctl.conf echo kern.maxfiles=16384 /etc/sysctl.conf echo kern.maxfilesperproc=14745 /etc/sysctl.conf echo kern.ipc.somaxconn=4096 /etc/sysctl.conf echo kern.ipc.maxsockbuf=1048576 /etc/sysctl.conf ===前準備 ~ パッケージからインストール -r するとリモートからとってくるよ編~ === pkg_add -r perl pkg_add -r rsync pkg_add -r cvsup-without-gui pkg_add -r zip pkg_add -r unzip pkg_add -r wget pkg_add -r curl pkg_add -r libxml2 pkg_add -r expat2 pkg_add -r cclient pkg_add -r tidy-lib pkg_add -r freebsd-update pkg_add -r jpeg pkg_add -r png pkg_add -r freetype pkg_add -r freetype2 pkg_add -r gd pkg_add -r mhash pkg_add -r bsdsar pkg_add -r openssl ===cvsup=== cvsupは vi /usr/share/examples/cvsup/ports-supfile で host=backup1.atwiki.jp に設定。 rehash でパスを再読み込み ==cvsupでportsを更新== cvsup /usr/share/examples/cvsup/ports-supfile アパッチ fetch ftp //ftp.lab.kdd.co.jp/infosystems/apache/dist/httpd/apache_1.3.41.tar.gz tar zxvf apache_1.3.41.tar.gz cd apache_1.3.41 setenv EXTRA_CFLAGS -DFD_SETSIZE=16384 ./configure --prefix=/usr/local/apache13 --enable-module=most --enable-module=so --enable-shared=max --enable-suexec --suexec-caller=www --suexec-logfile=/usr/local/apache13/logs/suexec_log --suexec-uidmin=10000 --suexec-gidmin=10000 make make install mod_layout改造版をどっかからとってくる。 tar zxvf mod_layout cd mod_layout-3.4 vi Makefile make make install Mysql cd /usr/ports/databases/mysql41-client/ make WITH_CHARSET=sjis WITH_XCHARSET=all make install cd /usr/ports/databases/mysql41-server/ make make install /etc/my.cnf設置→どこかのサーバーからコピー PHP fetch http //jp.php.net/get/php-5.2.8.tar.gz/from/this/mirror mv mirror php-5.2.8.tar.gz tar zxvf php-5.2.8.tar.gz cd php-5.2.8/ ./configure --with-apxs=/usr/local/apache13/bin/apxs --enable-mbstring --with-openssl --with-tidy --with-gd --with-jpeg-dir=/usr/local --with-zlib --enable-mbregex --enable-gd-jis-conv --with-freetype-dir=/usr/local/ --enable-zend-multibyte --enable-mbstring=japanese --enable-ftp --with-png-dir=/usr/local --enable-memory-limit --with-xmlrpc --enable-imap --with-mysql=/usr/local --with-pdo-mysql=/usr/local --enable-iconv --with-gettext --with-curl --with-mh make make install proftpd cd /usr/ports/ftp/proftpd make (defolut + quota + mysql) make install APC ===autoconf/aotoheader=== cd /usr/ports/devel/autoconf213/ make make install ln -s /usr/local/bin/autoconf213 /usr/local/bin/autoconf ln -s /usr/local/bin/autoheader213 /usr/local/bin/autoheader ===APC=== fetch http //pecl.php.net/get/APC-3.0.12p2.tgz tar zxvf APC-3.0.12p2.tgz cd APC-3.0.12p2 phpize ./configure --enable-apc-mmap--with-apxs --with-php-config=/usr/local/bin/php-config make make install mod_bandwidth.c mkdir tmp cd tmp/ fetch ftp //ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c /usr/local/apache13/bin/apxs -c mod_bandwidth.c /usr/local/apache13/bin/apxs -i -a mod_bandwidth.so /usr/local/apache13/bin/apachectl restart httpd.confを設定する前に作業デレクトリを作成。 mkdir /usr/local/apache13/bandwidth mkdir /usr/local/apache13/bandwidth/link mkdir /usr/local/apache13/bandwidth/master chown -R www www /usr/local/apache13/bandwidth mod_limitipconn fetch http //dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz tar zxvf mod_limitipconn-0.04.tar.gz cd mod_limitipconn-0.04 vi Makefile APXS=/usr/local/apache13/bin/apxs ←apxsをフルパスで指定 make make install 権限変更 権限変更750 chmod 750 /root/ chmod 750 /usr/local/apache13/conf/* chmod 750 /usr/local/etc/ chmod 750 /usr/local/etc/proftpd.conf chmod 750 /usr/home/ now ディレクトリ ファイル設置 /usr/local/www/以下 /usr/local/www/htdocs/_/ /root/_atpages/ /usr/local/www/session/ /usr/local/www/skel/ /usr/local/lib/php.ini /etc/my.cnf python インストール cd /usr/ports/lang/python25/ make make install ruby インストール cd /usr/ports/lang/ruby18/ make make install /etc/rc.confに追加 mysql_enable="YES" mysql_dbdir="/usr/local/mysql_data" proftpd_enable="YES" analog cd /usr/ports/www/analog/ make make install vi /usr/local/etc/analog.cfg ↓修正 LOGFORMAT COMMON LOGFILE /usr/local/apache13/logs/access_log OUTFILE /usr/local/www/htdocs/_analog/index.html その他 mysql設定 apache設定 proftpd設定 pf追加 /etc/crontab 編集 /etc/newsyslog.conf 編集 CGI グループ追加 pw groupadd -n pages -g 10000 php,cgiインストーラーのスクリプト設置 scp -rp dir/ ImageMagick cd /usr/ports/graphics/ImageMagick/ make make install perlモジュール cpan Jcode.pm モジュール cpan install Jcode DB_File モジュール cpan install DB_File DBI モジュール cpan install DBI DBD mysql モジュール cpan install DBD mysql ↑失敗したら、下記のURLからダウンロード http //www.cpan.org/modules/by-module/DBD/ tar zxvf DBD-mysql-4.010.tar.gz cd DBD-mysql-4.010 perl Makefile.PL make make install CGI.pm モジュール cpan install CGI image size http //search.cpan.org/~rjray/Image-Size-3.1.1/lib/Image/Size.pm Pythonモジュール ./ez_py.pv mysql /usr/ports/database/py-Mysqldb/ make make install SQLite /usr/local/bin/easy_install SQLObject ipython追加 cd /usr/ports/devel/ipython/ make make install ruby モジュール cd /usr/ports/databases/ruby-mysql/ make make install cd /usr/ports/databases/ruby-sqlite/ make make install
https://w.atwiki.jp/wiki8_hime/pages/45.html
環境;FreeBSD6.3 コピペパーツ 時計あわせ ntpdate -s -b 133.100.11.8 カーネルチューニング ===/boot/loader.conf=== echo /boot/loader.conf; echo kern.ipc.nmbclusters=32768 /boot/loader.conf; echo kern.ipc.maxsockets=32768 /boot/loader.conf; echo accf_http_load="YES" /boot/loader.conf; echo beastie_disable="YES" /boot/loader.conf; echo kern.maxssiz="134217728" /boot/loader.conf; echo kern.dfldsiz="1073741824" /boot/loader.conf; echo kern.maxdsiz="1073741824" /boot/loader.conf ===/etc/sysctl.conf=== echo /etc/sysctl.conf echo net.inet.tcp.inflight_enable=1 /etc/sysctl.conf echo kern.maxfiles=16384 /etc/sysctl.conf echo kern.maxfilesperproc=14745 /etc/sysctl.conf echo kern.ipc.somaxconn=4096 /etc/sysctl.conf echo kern.ipc.maxsockbuf=1048576 /etc/sysctl.conf ===前準備 ~ パッケージからインストール -r するとリモートからとってくるよ編~ === pkg_add -r perl pkg_add -r rsync pkg_add -r cvsup-without-gui pkg_add -r zip pkg_add -r unzip pkg_add -r wget pkg_add -r curl pkg_add -r libxml2 pkg_add -r expat2 pkg_add -r cclient pkg_add -r tidy-lib pkg_add -r freebsd-update pkg_add -r jpeg pkg_add -r png pkg_add -r freetype pkg_add -r freetype2 pkg_add -r gd pkg_add -r mhash pkg_add -r bsdsar pkg_add -r openssl ===cvsup=== cvsupは vi /usr/share/examples/cvsup/ports-supfile で host=backup1.atwiki.jp に設定。 rehash でパスを再読み込み ==cvsupでportsを更新== cvsup /usr/share/examples/cvsup/ports-supfile アパッチ fetch ftp //ftp.ring.gr.jp/pub/net/apache/httpd/apache_1.3.39.tar.gz tar zxvf apache_1.3.39.tar.gz cd apache_1.3.39 setenv EXTRA_CFLAGS -DFD_SETSIZE=16384 ./configure --prefix=/usr/local/apache13 --enable-module=most --enable-module=so --enable-shared=max --enable-suexec --suexec-caller=www --suexec-logfile=/usr/local/apache13/logs/suexec_log --suexec-uidmin=10000 --suexec-gidmin=10000 make make install mod_layout改造版をどっかからとってくる。 tar zxvf mod_layout cd mod_layout-3.4 vi Makefile make make install Mysql cd /usr/ports/databases/mysql41-client/ make WITH_CHARSET=sjis WITH_XCHARSET=all make install cd /usr/ports/databases/mysql41-server/ make make install /etc/my.cnf設置→どこかのサーバーからコピー PHP fetch http //jp.php.net/get/php-5.2.8.tar.gz/from/this/mirror mv mirror php-5.2.8.tar.gz tar zxvf php-5.2.8.tar.gz cd php-5.2.8/ ./configure --with-apxs=/usr/local/apache13/bin/apxs --enable-mbstring --with-openssl --with-tidy --with-gd --with-jpeg-dir=/usr/local --with-zlib --enable-mbregex --enable-gd-jis-conv --with-freetype-dir=/usr/local/ --enable-zend-multibyte --enable-mbstring=japanese --enable-ftp --with-png-dir=/usr/local --enable-memory-limit --with-xmlrpc --enable-imap --with-mysql=/usr/local --with-pdo-mysql=/usr/local --enable-iconv --with-gettext --with-curl --with-mh make make install proftpd cd /usr/ports/ftp/proftpd make (defolut + quota + mysql) make install APC ===autoconf/aotoheader=== cd /usr/ports/devel/autoconf213/ make make install ln -s /usr/local/bin/autoconf213 /usr/local/bin/autoconf ln -s /usr/local/bin/autoheader213 /usr/local/bin/autoheader ===APC=== fetch http //pecl.php.net/get/APC-3.0.12p2.tgz tar zxvf APC-3.0.12p2.tgz cd APC-3.0.12p2 phpize ./configure --enable-apc-mmap--with-apxs --with-php-config=/usr/local/bin/php-config make make install mod_bandwidth.c mkdir tmp cd tmp/ fetch ftp //ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c /usr/local/apache13/bin/apxs -c mod_bandwidth.c /usr/local/apache13/bin/apxs -i -a mod_bandwidth.so /usr/local/apache13/bin/apachectl restart httpd.confを設定する前に作業デレクトリを作成。 mkdir /usr/local/apache13/bandwidth mkdir /usr/local/apache13/bandwidth/link mkdir /usr/local/apache13/bandwidth/master chown -R www www /usr/local/apache13/bandwidth mod_limitipconn fetch http //dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz tar zxvf mod_limitipconn-0.04.tar.gz cd mod_limitipconn-0.04 vi Makefile APXS=/usr/local/apache13/bin/apxs ←apxsをフルパスで指定 make make install 権限変更 権限変更750 /root/ /usr/local/apache13/conf/* /usr/local/etc/ /usr/local/etc/proftpd.conf /usr/home/ ディレクトリ ファイル設置 /usr/local/www/以下 /usr/local/www/htdocs/_/ /root/_atpages/ /usr/local/www/session/ /usr/local/www/skel/ /usr/local/lib/php.ini /etc/my.cnf python インストール cd /usr/ports/lang/python25/ make make install ruby インストール cd /usr/ports/lang/ruby18/ make make install /etc/rc.confに追加 mysql_enable="YES" mysql_dbdir="/usr/local/mysql_data" proftpd_enable="YES" analog cd /usr/ports/www/analog/ make make install vi /usr/local/etc/analog.cfg ↓修正 LOGFORMAT COMMON LOGFILE /usr/local/apache13/logs/access_log OUTFILE /usr/local/www/htdocs/_analog/index.html その他 mysql設定 apache設定 proftpd設定 pf追加 /etc/crontab 編集 /etc/newsyslog.conf 編集 CGI グループ追加 pw groupadd -n pages -g 10000 php,cgiインストーラーのスクリプト設置 scp -rp dir/ ImageMagick cd /usr/ports/graphics/ImageMagick/ make make install perlモジュール cpan Jcode.pm モジュール cpan install Jcode DB_File モジュール cpan install DB_File DBI モジュール cpan install DBI DBD mysql モジュール cpan install DBD mysql ↑失敗したら、下記のURLからダウンロード http //www.cpan.org/modules/by-module/DBD/ tar zxvf DBD-mysql-4.010.tar.gz cd DBD-mysql-4.010 perl Makefile.PL make make install CGI.pm モジュール cpan install CGI image size http //search.cpan.org/~rjray/Image-Size-3.1.1/lib/Image/Size.pm Pythonモジュール ./ez_py.pv mysql /usr/ports/database/py-Mysqldb/ make make install SQLite /usr/local/bin/easy_install SQLObject ipython追加 cd /usr/ports/devel/ipython/ make make install ruby モジュール cd /usr/ports/databases/ruby-mysql/ make make install cd /usr/ports/databases/ruby-sqlite/ make make install
https://w.atwiki.jp/josoge/pages/51.html
http //jososho2.hp.infoseek.co.jp/projectj/index.html こちらで新作やってます http //www21.atwiki.jp/josoge/pages/27.html コメントがあればこちらへどうぞ
https://w.atwiki.jp/milldantia/pages/13.html
INDEX TOP PAGE HANGAR RELIC ARTIFACT GLOSSARY